#pragma once 
#include "BiSurfaceSequence.h"
#include "CollisionRectF.h"

class SpriteCore
{
public:
	CollisionRectF GetCRect()const
	{
		CollisionRectF rect(cRect, vx, vy);
		rect.Translate(x, y);
		return rect;
	}
public:
	float x, y;
	float vx, vy;
	BiSurfaceSequence *currentSeq;
	BiSurfaceSequence **seqs;
	class SpriteState *state;
	BiDirection dir;
	RectF cRect;
};